package com.letoken.platform.repo.ecommerce.vo;


import com.letoken.platform.repo.ecommerce.po.EcommerceAfterOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新用户售后订单详情响应对象")
public class UserAfterOrderDetailRes implements Serializable {

    @ApiModelProperty(value = "售后订单ID")
    private Integer id;
    @ApiModelProperty(value = "售后编号")
    private String seqNo;


    private Integer mallUserId;


    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @ApiModelProperty("商品标题")
    private String productTitle;
    @ApiModelProperty("商品主图")
    private String pic;
    @ApiModelProperty("商品规格")
    private String productAttr;
    @ApiModelProperty("实际单价")
    private BigDecimal realPrice;
//    @ApiModelProperty("订单数量")
//    private Integer quantity;
//    @ApiModelProperty("订单总额")
//    private BigDecimal totalAmount;




    @ApiModelProperty(value = "退货数量")
    private Integer refundQuantity;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;
    @ApiModelProperty(value = "1退货 2退货退款")
    private Integer type;

    @ApiModelProperty(value = "售后状态：0->申请售后；1->申请成功； 2->拒绝")
    private Integer status;

    @ApiModelProperty(value = "售后状态描述")
    private String statusName;

    @ApiModelProperty(value = "1->退款中 2->已退款 3->拒绝")
    private Integer refundStatus;

    @ApiModelProperty(value = "退款状态描述")
    private String refundStatusName;

    @ApiModelProperty(value = "1->退货中 2已退货待收货 3商家收货")
    private Integer refundGoodsStatus;

    @ApiModelProperty(value = "退货状态描述")
    private String refundGoodsStatusName;


    @ApiModelProperty(value = "申请原因")
    private String reason;


    @ApiModelProperty(value = "驳回原因")
    private String approveReason;





    private String attrStr;





    @ApiModelProperty(value = "物流单号")
    private String deliveryNo;






    @ApiModelProperty(value = "物流公司")
    private String deliveryCompany;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

    @ApiModelProperty(value = "收货人邮编")
    private String receiverPostCode;

    @ApiModelProperty(value = "省份/直辖市")
    private String receiverProvince;

    @ApiModelProperty(value = "城市")
    private String receiverCity;

    @ApiModelProperty(value = "区")
    private String receiverRegion;

    @ApiModelProperty(value = "详细地址")
    private String receiverAddress;

    @ApiModelProperty(value = "申请时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime updateTime;



    @ApiModelProperty(value = "退货时间")
    private LocalDateTime refundGoodsTime;


    @ApiModelProperty(value = "0未收到货 1已收到货")
    private Integer goodsStatus;


    @ApiModelProperty(value = "让利值")
    private BigDecimal contributing;

    @ApiModelProperty("rmb价格")
    private BigDecimal rmbPrice;

    private BigDecimal rmbRate;

    private String payType;

}
